package com.learner.common.client.vod;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author ice2020x
 * @Date: 2023/3/8
 * @Description:
 **/
@Service
@FeignClient(value = "ls-service-vod")
public interface VodMediaClient {
    /**
     * 删除视频文件
     *
     * @param videoId 视频资源id
     * @return 结果
     */
    @DeleteMapping("/admin/vod/media/remove/{videoId}")
    void removeVideo(@PathVariable("videoId") String videoId);

}
